//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.kun.portal.webframe.po;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;

@Entity
@Table(
        name = "fw_team_module"
)
@IdClass(FwTeamModulePo.class)
public class FwTeamModulePo implements Serializable {
    private static final long serialVersionUID = -4657899436016054647L;
    @Id
    @Column(
            name = "module_id",
            length = 32,
            nullable = false
    )
    private String moduleId;
    @Id
    @Column(
            name = "team_id",
            length = 32,
            nullable = false
    )
    private String teamId;

    public void setModuleId(String moduleId) {
        this.moduleId = moduleId;
    }

    public String getModuleId() {
        return this.moduleId;
    }

    public void setTeamId(String teamId) {
        this.teamId = teamId;
    }

    public String getTeamId() {
        return this.teamId;
    }

    public FwTeamModulePo() {
    }

    public FwTeamModulePo(String teamId, String moduleId) {
        this.teamId = teamId;
        this.moduleId = moduleId;
    }
}
